factoring difference of two perfect squares